-
Notifications
You must be signed in to change notification settings - Fork 74
Add Deprecation Warnings to Topic and PullSubscription #980
Add Deprecation Warnings to Topic and PullSubscription #980
Conversation
/test pull-google-knative-gcp-integration-tests |
/hold Holding to allow @akashrv to confirm or alter the deprecation message. |
|
||
const deprecationMessage = "This object is deprecated and should be deleted. There is no public " + | ||
"replacement. If you want a public replacement, please comment on " + | ||
"https://github.com/google/knative-gcp/issues/905. This object should be deleted before " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Content is correct. We could mellow down a bit. How about: "This object (or kind) is deprecated and the CRD is made 'internal'. This means, end-users should not create objects of this CRD directly. If you need a non-internal (or a public) variant, then please let us know by commenting on #905. Moreover, the object must be deleted before upgrading to 0.16 to avoid leaking (or orphaning) the Google Cloud Platform resources that were created on-behalf of this object, such as Pub/Sub topics and subscriptions."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, how about (almost identical to yours, but removed the parenthesis):
This Kind is deprecated and the CRD has been made 'internal'. This means, end-users should not create objects of this CRD directly. If you need a non-internal variant, then please let us know by commenting on https://github.com/google/knative-gcp/issues/905. Moreover, the object must be deleted before upgrading to 0.16 to avoid orphaning the Google Cloud Platform resources that were created on-behalf of this object, such as Pub/Sub Topics and Subscriptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
/hold cancel Cancelling hold now that the wording has been agreed upon. |
Ping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay in reviewing. Only minor nits, cancel the hold if desired.
/lgtm
/hold
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold cancel
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grantr, Harwayne The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
2 similar comments
/retest |
/retest |
The following is the coverage report on the affected files.
|
@Harwayne: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Helps with #905.
Proposed Changes
Topic
andPullSubscription
in thepubsub.cloud.google.com
API group.Release Note